MacBinary | 1990-07-24 | 1.5 KB | [TEXT/MPS ] |
Confidence | Program | Detection | Match Type | Support |
---|---|---|---|---|
10% | dexvert | MacBinary (archive/macBinary) | fallback | Supported |
1% | dexvert | Text File (text/txt) | fallback | Supported |
100% | file | MacBinary II, inited, Tue Jul 24 15:20:51 1990, modified Tue Jul 24 15:20:51 1990, creator 'MPS ', type ASCII, 915 bytes "VirtualWorld.h" , at 0x413 382 bytes resource | default (weak) | |
99% | file | data | default | |
74% | TrID | Macintosh plain text (MacBinary) | default | |
25% | TrID | MacBinary 2 | default (weak) | |
100% | siegfried | fmt/1762 MacBinary (II) | default | |
100% | lsar | MacBinary | default |
id metadata | |
---|---|
key | value |
macFileType | [TEXT] |
macFileCreator | [MPS ] |
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 56 69 72 74 75 61 | 6c 57 6f 72 6c 64 2e 68 |..Virtua|lWorld.h|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 80 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 03 93 00 | 00 01 7e a2 d2 50 13 a2 |........|..~..P..|
|00000060| d2 50 13 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.P......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 60 d7 00 00 |........|....`...|
|00000080| 2f 2a 0d 09 56 69 72 74 | 75 61 6c 57 6f 72 6c 64 |/*..Virt|ualWorld|
|00000090| 2e 68 0d 09 0d 09 49 6e | 74 65 72 66 61 63 65 20 |.h....In|terface |
|000000a0| 74 6f 20 74 68 65 20 56 | 69 72 74 75 61 6c 20 77 |to the V|irtual w|
|000000b0| 6f 72 6c 64 20 6d 61 69 | 6e 74 61 69 6e 69 6e 67 |orld mai|ntaining|
|000000c0| 20 63 6c 61 73 73 2e 0d | 09 0d 09 62 79 20 50 61 | class..|...by Pa|
|000000d0| 74 72 69 63 6b 20 42 65 | 61 72 64 2e 0d 09 0d 09 |trick Be|ard.....|
|000000e0| a9 31 39 39 30 20 62 79 | 20 50 61 74 72 69 63 6b |.1990 by| Patrick|
|000000f0| 20 43 2e 20 42 65 61 72 | 64 2e 20 20 41 6c 6c 20 | C. Bear|d. All |
|00000100| 72 69 67 68 74 73 20 72 | 65 73 65 72 76 65 64 2e |rights r|eserved.|
|00000110| 0d 20 2a 2f 0d 0d 23 69 | 66 6e 64 65 66 20 5f 5f |. */..#i|fndef __|
|00000120| 56 49 52 54 55 41 4c 57 | 4f 52 4c 44 5f 5f 0d 23 |VIRTUALW|ORLD__.#|
|00000130| 64 65 66 69 6e 65 20 5f | 5f 56 49 52 54 55 41 4c |define _|_VIRTUAL|
|00000140| 57 4f 52 4c 44 5f 5f 0d | 0d 23 69 6e 63 6c 75 64 |WORLD__.|.#includ|
|00000150| 65 20 3c 4d 65 6d 6f 72 | 79 2e 68 3e 0d 23 69 6e |e <Memor|y.h>.#in|
|00000160| 63 6c 75 64 65 20 3c 53 | 74 64 44 65 66 2e 68 3e |clude <S|tdDef.h>|
|00000170| 0d 0d 23 69 6e 63 6c 75 | 64 65 20 22 52 65 6c 6f |..#inclu|de "Relo|
|00000180| 63 61 74 61 62 6c 65 2e | 68 22 0d 0d 63 6c 61 73 |catable.|h"..clas|
|00000190| 73 20 56 69 72 74 75 61 | 6c 57 6f 72 6c 64 20 3a |s Virtua|lWorld :|
|000001a0| 20 70 75 62 6c 69 63 20 | 52 65 6c 6f 63 61 74 61 | public |Relocata|
|000001b0| 62 6c 65 20 7b 0d 70 75 | 62 6c 69 63 3a 0d 09 56 |ble {.pu|blic:..V|
|000001c0| 69 72 74 75 61 6c 57 6f | 72 6c 64 28 42 6f 6f 6c |irtualWo|rld(Bool|
|000001d0| 65 61 6e 20 77 6f 72 6c | 64 46 6c 6f 61 74 73 29 |ean worl|dFloats)|
|000001e0| 3b 09 2f 2f 20 63 6f 6e | 73 74 72 75 63 74 6f 72 |;.// con|structor|
|000001f0| 20 73 65 74 73 20 75 70 | 20 77 6f 72 6c 64 2e 0d | sets up| world..|
|00000200| 09 7e 56 69 72 74 75 61 | 6c 57 6f 72 6c 64 28 29 |.~Virtua|lWorld()|
|00000210| 3b 09 09 09 09 09 2f 2f | 20 64 65 73 74 72 75 63 |;.....//| destruc|
|00000220| 74 6f 72 20 64 65 73 74 | 72 6f 79 73 20 69 74 2e |tor dest|roys it.|
|00000230| 0d 09 0d 09 2f 2f 20 6d | 61 69 6e 20 66 75 6e 63 |....// m|ain func|
|00000240| 74 69 6f 6e 73 2c 20 45 | 6e 74 65 72 20 73 65 74 |tions, E|nter set|
|00000250| 73 20 41 35 20 74 6f 20 | 70 6f 69 6e 74 20 74 6f |s A5 to |point to|
|00000260| 20 6f 75 72 20 77 6f 72 | 6c 64 2e 0d 09 76 6f 69 | our wor|ld...voi|
|00000270| 64 20 45 6e 74 65 72 28 | 29 3b 09 09 09 09 09 09 |d Enter(|);......|
|00000280| 2f 2f 20 67 6f 20 69 6e | 74 6f 20 6f 75 72 20 77 |// go in|to our w|
|00000290| 6f 72 6c 64 2e 0d 09 76 | 6f 69 64 20 4c 65 61 76 |orld...v|oid Leav|
|000002a0| 65 28 29 3b 09 09 09 09 | 09 09 2f 2f 20 72 65 73 |e();....|..// res|
|000002b0| 74 6f 72 65 20 6f 6c 64 | 20 41 35 20 63 6f 6e 74 |tore old| A5 cont|
|000002c0| 65 78 74 2e 0d 09 0d 09 | 2f 2f 20 65 72 72 6f 72 |ext.....|// error|
|000002d0| 20 72 65 70 6f 72 74 69 | 6e 67 2e 0d 09 4f 53 45 | reporti|ng...OSE|
|000002e0| 72 72 20 52 65 73 75 6c | 74 28 29 09 7b 20 72 65 |rr Resul|t().{ re|
|000002f0| 74 75 72 6e 20 65 72 72 | 6f 72 3b 20 7d 0d 0d 70 |turn err|or; }..p|
|00000300| 72 69 76 61 74 65 3a 0d | 09 4f 53 45 72 72 20 65 |rivate:.|.OSErr e|
|00000310| 72 72 6f 72 3b 09 09 09 | 09 09 09 2f 2f 20 74 68 |rror;...|...// th|
|00000320| 65 20 6c 61 73 74 20 65 | 72 72 6f 72 20 74 68 61 |e last e|rror tha|
|00000330| 74 20 6f 63 63 75 72 72 | 65 64 2e 0d 09 42 6f 6f |t occurr|ed...Boo|
|00000340| 6c 65 61 6e 20 63 6f 64 | 65 46 6c 6f 61 74 73 3b |lean cod|eFloats;|
|00000350| 09 09 09 09 09 2f 2f 20 | 77 68 65 74 68 65 72 20 |.....// |whether |
|00000360| 77 65 20 68 61 76 65 20 | 74 6f 20 63 61 6c 6c 20 |we have |to call |
|00000370| 74 68 65 20 76 74 61 62 | 6c 65 20 69 6e 69 74 2e |the vtab|le init.|
|00000380| 0d 09 6c 6f 6e 67 20 77 | 6f 72 6c 64 53 69 7a 65 |..long w|orldSize|
|00000390| 3b 09 09 09 09 09 09 2f | 2f 20 68 6f 77 20 62 69 |;....../|/ how bi|
|000003a0| 67 20 6f 75 72 20 67 6c | 6f 62 61 6c 73 20 61 72 |g our gl|obals ar|
|000003b0| 65 2e 0d 09 50 74 72 20 | 6f 75 72 41 35 3b 09 09 |e...Ptr |ourA5;..|
|000003c0| 09 09 09 09 09 2f 2f 20 | 74 68 65 20 73 74 6f 72 |.....// |the stor|
|000003d0| 61 67 65 20 66 6f 72 20 | 74 68 65 20 76 69 72 74 |age for |the virt|
|000003e0| 75 61 6c 20 77 6f 72 6c | 64 2e 0d 09 50 74 72 20 |ual worl|d...Ptr |
|000003f0| 6f 6c 64 41 35 3b 09 09 | 09 09 09 09 09 2f 2f 20 |oldA5;..|.....// |
|00000400| 6f 6c 64 20 41 35 2e 0d | 7d 3b 0d 0d 23 65 6e 64 |old A5..|};..#end|
|00000410| 69 66 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |if......|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000490| 00 00 4c 38 0a 47 65 74 | 47 6c 6f 62 61 6c 73 65 |..L8.Get|Globalse|
|000004a0| 01 00 00 00 00 05 00 00 | 62 e7 a1 1e c8 f7 a1 1e |........|b.......|
|000004b0| 0e 56 69 72 74 75 61 6c | 57 6f 72 6c 64 2e 68 6f |.Virtual|World.ho|
|000004c0| 02 00 00 00 54 45 58 54 | 4d 50 53 20 01 00 00 80 |....TEXT|MPS ....|
|000004d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 80 00 00 |..TEXTMP|S ......|
|000004e0| 00 00 00 e6 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 a1 6b 5b 50 00 00 | 03 93 00 00 01 7e 54 21 |...k[P..|.....~T!|
|00000500| 01 00 ff ef 01 aa 00 00 | 00 00 67 aa 00 00 00 03 |........|..g.....|
|00000510| d6 aa 00 03 d8 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| a1 31 13 02 a1 31 13 85 | 00 00 00 00 00 00 00 00 |.1...1..|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 03 03 |........|........|
|00000540| 00 0b 03 1e 00 01 03 2e | 00 01 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 01 00 00 00 01 20 00 00 | 00 00 62 cf 00 00 00 00 |..... ..|..b.....|
|00000570| 04 17 00 00 08 00 00 00 | 00 00 01 7e 00 00 04 00 |........|...~....|
|00000580| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 61 73 73 |...H..Mo|naco.ass|
|00000590| 20 41 35 57 6f 72 6c 64 | 20 7b 0d 70 75 62 6c 69 | A5World| {.publi|
|000005a0| 63 3a 0d 09 41 35 00 06 | 00 04 fe 86 fb 82 00 0c |c:..A5..|........|
|000005b0| fd 91 fe 86 fb 82 00 0c | fd 91 a2 d2 09 c3 00 00 |........|........|
|000005c0| 01 28 00 00 01 28 00 00 | 00 91 01 00 00 00 01 00 |.(...(..|........|
|000005d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 2c 9c d4 |...L...L|...2.,..|
|000005e0| 0c 20 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |. .....2|..MPSR..|
|000005f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 2e 41 34 00 00 |........|....A4..|
+--------+-------------------------+-------------------------+--------+--------+